<!DOCTYPE html>
<html>
    <head>
        <title>Create actividad</title>

        {include file="head_scripts.html"}
    </head>

    <body>

        {include file="header.html"}

        <div class="container">
            {include file="messages.html"}
            
            {if (true)}
<div id="" class="row">
	

                    {if (true)}
<div id="" class="span2">
	
                            {include file="sample_sidebar.html"}
                        
</div>
{/if}

                    {if (true)}
<div id="" class="span10">
	

                            {if (true)}
<form id="" class="" action="" method="post" enctype="multipart/form-data">
	

                                    <legend >Create actividad</legend>

                                                                            {if (true)}
<label for="titulo">Título</label>
<input id="titulo" name="titulo" type="text" value="" placeholder="titulo of actividad"  />
{/if}
                                                                            <label for="detalle">Detalle</label>
<textarea id="detalle" name="detalle" placeholder="detalle of actividad" ></textarea>

                                                                            {if (true)}
<label for="fecha">Fecha</label>
<input id="fecha" name="fecha" type="date" value="" placeholder="fecha of actividad"  />
{/if}
                                                                            {if (true)}
<label for="version">Versión</label>
<input id="version" name="version" type="number" value="" placeholder="version of actividad"  />
{/if}
                                    
                                                                        <label >Usuario</label>

                                    {if (true)}
<select name="usuario">
	<option value="0">Please select something</option> 
{foreach from=$usuarios item="usuario"}
	
	{if ($actividad->usuario->id == $usuario->id)}
		<option value="{$usuario->id}" selected="selected">{$usuario->username}</option>
	{else}
		<option value="{$usuario->id}">{$usuario->username}</option>
	{/if}

{/foreach}
</select>
{/if}
                                    
                                    
                                    {if (true)}
<div id="" class="form-actions">
	
                                            <button id="" name="" type="submit" class='btn btn-primary'>Create actividad</button>

                                        
</div>
{/if} <!-- .form-actions -->

                                
</form>
{/if} <!-- form -->

                        
</div>
{/if} <!-- .span10 -->

                
</div>
{/if} <!-- .row -->

            {include file="footer.html"}

        </div><!-- .container -->

        {include file="footer_scripts.html"}
        
    </body>
</html>